<?php



/**
 * Skeleton subclass for representing a row from the 'stationhours' table.
 *
 * 
 *
 * You should add additional methods to this class to meet the
 * application requirements.  This class will only be generated as
 * long as it does not already exist in the output directory.
 *
 * @package    propel.generator.ise-php
 */
class Stationhours extends BaseStationhours {
	
	/**
	 * associative array of possible day values in order with empty times
	 */
	public static function dayOrder() {
		$closed = "closed";
		return array("MON"=>$closed,"TUE"=>$closed,"WED"=>$closed,
				"THU"=>$closed,"FRI"=>$closed,"SAT"=>$closed,"SUN"=>$closed);
	}
	
	/**
	 * the concatenated opening and closing times
	 */
	public function timeAsString() {
		return $this->getOpen("H:i")."-".$this->getClose("H:i");
	}
} // Stationhours
